home *** CD-ROM | disk | FTP | other *** search
/ Maclife 13 / MACLIFE13-No-93-1996.ISO.7z / MACLIFE13-No-93.ISO / ROOKIE MOUSE / Bye-Bye Trouble / Easy Errors 1.11.sit / Errors Info < prev    next >
Text File  |  1995-03-09  |  5KB  |  61 lines

  1. Easy Errors 1.11
  2. by Dave Rubinic
  3. March 9, 1995
  4.  
  5.     The purpose of this application is to allow you to quickly find out about what a particular error means on the Macintosh and the Newton PDA.  Simply select the appropriate system, and type the error number in. For Macs, it will display (if available) the result code word, and a longer description.  The result code is what you'd see in MacBugs, or the constant that you would use in programming.  The description is generally more meaningful. For Newtons, it will display the error type and error description.  It will remember the setting between sessions.  If the program doesn't seem to recognize any of the error numbers, make sure you have chosen the correct machine.  (This was the answer to about 90% of the problem reports I got last release.)  And just so there is no confusion, this is a Macintosh program.  It does not run on Newtons.
  6.   
  7.     I have been asked by several people to include possible causes or fixes for the error codes.  Yikes!  Its bad enough figuring out why I'm getting an error when I know what the code is supposed to be doing.  But I can supply some general trouble-shooting tips and guidelines.  Stuff like Bus Errors and Address Errors sometimes seem to occur at random & haphazard times.  Usually they can be traced to a conflict between programs, inits and/or the system.  Your best approach is to boot up with extentions disabled and see if the problem still occurs.  If you can get the problem to consistantly occur at a certain point you can often get in contact with the authors to get the problem resolved, or at least make them aware of it.  If an error is occuring because of an update or something you added, try to see what exactly it is about the update that may be causing the problem.
  8.  
  9.     The information for Mac errors is stored in the 'Errs' resource, and can be easily added to or modified.  The error number is the resource number, and there is a ResEdit template for editing the fields.  The result code field should not be any longer than what can fit in the window.  However, the description can extend up to 255 characters, or 7 lines, whichever comes first.
  10.  
  11.     The information for Newton errors is a bit more complex.  Lets take for example error -48002, "Store format is too old to understand."  The error string is broken down into two parts, "80" and "002".  The "-4" is ignored for now.  It may cause problems later if they start using error codes that begin with something else, but that would have to be a heck of alot of error codes.  The "80" is the error type, which would be "Store Errors."  This is stored in the 'NHdr' resource.  The "002" is the error number which is stored in the 'Newt' resource.  Again, templates are provided for both of these.
  12.  
  13.     The program now supports hexadecimal error numbers.  Just preceed your number by the dollar sign.  You may enter either word or longword values.  It will also accept decimal numbers with a dot in front of them, like some debuggers use.  And of course it still takes just a plain old decimal number.
  14.  
  15.     The application window will shrink if you click on the "grow" box in the upper right hand corner.  This is a result of complaints that with the large text field, the window takes up too much room on smaller monitors.  I couldn't make the text field smaller, since some of the error descriptions used all of it.
  16.  
  17.     This is a Fat application, meaning it has code for both 68000 machines and Power Macs.  I 
  18. realize that the program isn't speed critical, but I thought the native code would help cut down on context switches on the Power Macs.  If you really don't want the PPC code, you can just delete the data fork.  Please don't give your copy out if you do this, though. 
  19.  
  20.     Easy Errors is freeware and may be freely distributed and used, but may not be sold without my consent.  Of course I won't turn away any donations either, or send them to your favorite charity in my name.  This text file must be included in all distributions.  Do not distribute the application with any modifications.
  21.  
  22.     The information for the Macintosh errors was gathered from Apple's SysErr.a file, Inside Macintosh VI, and System Errors 7.01 by "Dr. Pete" Corless.  The Newton Errors info was compiled for me by Bill Kearney and Howard Oakley.  While I cover many errors in this program, if you have any error codes that are not included, please send them to me so I have them for future releases.
  23.  
  24.     Icon by David Asbell.
  25.  
  26.     I can be reached via E-mail at the following addresses:
  27.  
  28.                     America Online:    DaveR9
  29.                     Internet:            udrubini@mcs.drexel.edu
  30.  
  31. or via US Mail at:
  32.  
  33.                     Dave Rubinic
  34.                     1315 Pieffers Lane
  35.                     Oberlin,    PA    17113-1016
  36.  
  37. Version History
  38. ---------------
  39. 1.11 - 03/09/95
  40.  
  41.     -    Added a bunch of new Mac error codes.
  42.  
  43.     -    Modified shrinking behaviour to use grow box instead.
  44.  
  45.     -    Added PPC native code.
  46.  
  47.     -    Increased the memory partition so that it works under System 7.5's new memory manager.
  48.  
  49. 1.1 - 01/29/94
  50.  
  51.     -  Added options for Newton codes.
  52.  
  53.     -  Added the option of entering errors in Hex or Decimal format.
  54.  
  55.     -  Fixed an annoying bug that messed up SE's & Plus' running 6.0x w/Multifinder.
  56.  
  57.     -  Added the shrinking feature.
  58.  
  59. 1.0 - 03/11/93
  60.  
  61.     -  Initial Public Release.